package org.example.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class SysMenu {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String title;
    private Integer parentId;
    @TableField("url")
    private String path;
    private String name;
    private String perms;
    private Integer type;
    private String icon;
    private Boolean hidden;
    private Integer orderNum;
    @TableField(exist = false)
    private String parenttitle;
//    @TableField(exist = false)
//    private String radio = "1";
}
